/*
 * @LastEditTime: 2024-08-26 20:19:50
 * @Description: 
 * @Date: 2024-08-26 19:52:43
 * @Author: wangshan
 * @LastEditors: wangshan
 */
import request from "@/utils/request";

// 文件上传
export function sendFile(data) {
  return request({
    url: "/common/upload",
    method: "post",
    data,
    headers: {
      "Content-type": "multipart/form-data",
    },
  });
}

// 文件批量
export function sendFiles() {
  return request({
    url: "/common/uploads",
    method: "post",
  });
}